package com.open.capacity.common.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author YangGang
 * @Title: 导航实体类
 * @Description: TODO
 * @date 2021/6/29/9:38
 */
@Data
public class NavigationModel extends BaseModel {
    private Integer naviid;//导航id
    private String naname;//导航名
    @DateTimeFormat(pattern = "yyyy-MM-dd") //入参
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") //出参
    private Date crtime;//创建时间
    private Date uptime;//修改时间
    private String navurl;//导航连接
    private Integer enable;//导航状态
}
